package com.example.mymvp_2.Base;

import com.example.mymvp_2.Retrofit.Service;
import com.example.mymvp_2.Retrofit.ServiceImpl;

public class BaseModel {
    protected Service getService(){
        return ServiceImpl.getRetrofit().create(Service.class);
    }
    protected Service getService2(){
        return ServiceImpl.PostRetrofit().create(Service.class);
    }
    protected Service getService3(){
        return ServiceImpl.XMLRetrofit().create(Service.class);
    }
}
